package com.qf.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

/**
 * 用户个人中心的地址实体，用于存储地址信息(Address)实体类
 *
 * @author makejava
 * @since 2020-07-02 10:08:39
 */
public class Address implements Serializable {
    private static final long serialVersionUID = 129648300802701187L;
    /**
    * 地址实体的唯一主键列
    */
    @TableId(value="id",type = IdType.AUTO)
    private Integer aId;
    /**
    * 用户实体的主键属性
    */
    private Integer uId;
    /**
    * 地址的收件人
    */
    private String aName;
    /**
    * 收件人电话
    */
    private String aPhone;
    /**
    * 收货人详细地址
    */
    private String aDetail;
    /**
    * 是否是默认地址 0 不是 1是默认地址
    */
    private Integer aState;
    /**
    * 是否是收货地址 0 不是 1是收货地址
    */
    private Integer aTakeDeliveryState;


    public Integer getAId() {
        return aId;
    }

    public void setAId(Integer aId) {
        this.aId = aId;
    }

    public Integer getUId() {
        return uId;
    }

    public void setUId(Integer uId) {
        this.uId = uId;
    }

    public String getAName() {
        return aName;
    }

    public void setAName(String aName) {
        this.aName = aName;
    }

    public String getAPhone() {
        return aPhone;
    }

    public void setAPhone(String aPhone) {
        this.aPhone = aPhone;
    }

    public String getADetail() {
        return aDetail;
    }

    public void setADetail(String aDetail) {
        this.aDetail = aDetail;
    }

    public Integer getAState() {
        return aState;
    }

    public void setAState(Integer aState) {
        this.aState = aState;
    }

    public Integer getATakeDeliveryState() {
        return aTakeDeliveryState;
    }

    public void setATakeDeliveryState(Integer aTakeDeliveryState) {
        this.aTakeDeliveryState = aTakeDeliveryState;
    }

}